home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / wildcat / mbox112.zip / MAILBOX.WCX (.txt) < prev    next >
Wildcat! WCX  |  1996-02-13  |  14KB  |  1,050 lines

  1. '! Decompiled with wccNosy version 4.20f (freeware)
  2. '! Input File: in.wcx  13647 bytes  01/28/123  08:37:10pm
  3. '! Code Segment Size  :11637 bytes
  4. '! Data Segment Size  :8249 bytes
  5. '! String Segment Size:2010 bytes
  6. '! Compiled with WCC version 4.10
  7.  
  8.       Type Type31
  9.         b0 As Byte
  10.         s1 As String*160
  11.       End Type
  12.  
  13.       Type Type30
  14.         w0 As Word
  15.         s2 As String*1
  16.         w3 As Word
  17.         s5 As String*70
  18.         s75 As String*70
  19.         dt145 As DateTime
  20.       End Type
  21.  
  22.       Type Type29
  23.         Filler0(1 To 4) As Byte
  24.         w4 As Word
  25.         s6 As String*70
  26.         Filler76(1 To 10) As Byte
  27.         l86 As Long
  28.         s90 As String*70
  29.         Filler160(1 To 14) As Byte
  30.         s174 As String*70
  31.         Filler244(1 To 20) As Byte
  32.         w264 As Word
  33.         Filler266(1 To 20) As Byte
  34.         s286 As String*12
  35.         s298 As String*12
  36.       End Type
  37.  
  38.       Type Type28
  39.         Filler0(1 To 90) As Byte
  40.         s90 As String*70
  41.         Filler160(1 To 14) As Byte
  42.         s174 As String*70
  43.         Filler244(1 To 20) As Byte
  44.         w264 As Word
  45.       End Type
  46.  
  47.       Type Type27
  48.         s0 As String*70
  49.         s70 As String*70
  50.         w140 As Word
  51.       End Type
  52.  
  53.       Type Type26
  54.         i0 As Integer
  55.         s2 As String*1
  56.         i3 As Integer
  57.         s5 As String*70
  58.         s75 As String*70
  59.         d145 As Date
  60.       End Type
  61.  
  62.       Declare Sub Sub6750
  63.       Declare Sub Sub7620
  64.       Declare Sub Sub8586
  65.       Declare Sub Sub10138
  66.       Declare Sub Sub11206(s65534 As String)
  67.       Declare Function Func11465(i65534 As Integer) As String
  68.  
  69.       Dim s4463 As String
  70.       Dim s4467 As String
  71.       Dim l4471 As Long
  72.       Dim l4475 As Long
  73.       Dim o4479 As Boolean
  74.       Dim w4484 As Word
  75.       Dim t26_4486 As Type26
  76.       Dim w4637 As Word
  77.       Dim w4639 As Word
  78.       Dim mh4641 As MessageHeader
  79.       Dim mh4961 As MessageHeader
  80.       Dim s5281 As String*70
  81.       Dim b5351 As Byte
  82.       Dim s5352 As String
  83.       Dim s5356 As String
  84.       Dim s5360 As String
  85.       Dim s5364 As String
  86.       Dim w5368 As Word
  87.       Dim b5372 As Byte
  88.       Dim ur5373 As UserRecord
  89.       Dim s6023 As String
  90.       Dim s6027 As String
  91.       Dim b6031 As Byte
  92.       Dim w6032 As Word
  93.       Dim b6034 As Byte
  94.       Dim w6035 As Word
  95.       Dim w6037 As Word
  96.       Dim b6039 As Byte
  97.       Dim mh6040 As MessageHeader
  98.       Dim s6360 As String
  99.       Dim t27_6364 As Type27
  100.       Dim s6506 As String
  101.       Dim s6510 As String
  102.       Dim s6514 As String
  103.       Dim sp6518 As SecurityProfile
  104.       Dim i8243(0 To 2) As Integer
  105.  
  106.       Dim l65257_ As Long
  107.       Dim w65261_ As Word
  108.       Dim l65263_ As Long
  109.       Dim b65267_ As Byte
  110.       Dim i65268_ As Integer '! Temporary
  111.       Dim i65270_ As Integer '! Temporary
  112.       Dim i65272_ As Integer '! Temporary
  113.       Dim i65274_ As Integer '! Temporary
  114.       Dim i65276_ As Integer '! Temporary
  115.       Dim i65278_ As Integer '! Temporary
  116.       Dim i65280_ As Integer '! Temporary
  117.       Dim i65282_ As Integer '! Temporary
  118.       Dim l65284_ As Long
  119.       Dim b65288_ As Byte
  120.       Dim i65289_ As Integer '! Temporary
  121.       Dim i65291_ As Integer '! Temporary
  122.       Dim i65293_ As Integer '! Temporary
  123.       Dim i65295_ As Integer '! Temporary
  124.       Dim l65297_ As Long
  125.       Dim b65301_ As Byte
  126.       Dim i65302_ As Integer '! Temporary
  127.       Dim i65304_ As Integer '! Temporary
  128.       Dim i65306_ As Integer '! Temporary
  129.       Dim i65308_ As Integer '! Temporary
  130.       Dim i65310_ As Integer '! Temporary
  131.       Dim i65312_ As Integer '! Temporary
  132.       Dim i65314_ As Integer '! Temporary
  133.       Dim i65316_ As Integer '! Temporary
  134.       Dim i65318_ As Integer '! Temporary
  135.       Dim i65320_ As Integer '! Temporary
  136.       Dim i65322_ As Integer '! Temporary
  137.       Dim i65324_ As Integer '! Temporary
  138.       Dim i65326_ As Integer '! Temporary
  139.       Dim i65328_ As Integer '! Temporary
  140.       Dim i65330_ As Integer '! Temporary
  141.       Dim i65332_ As Integer '! Temporary
  142.       Dim i65334_ As Integer '! Temporary
  143.       Dim i65336_ As Integer '! Temporary
  144.       Dim i65338_ As Integer '! Temporary
  145.       Dim i65340_ As Integer '! Temporary
  146.       Dim i65342_ As Integer '! Temporary
  147.       Dim i65344_ As Integer '! Temporary
  148.       Dim i65346_ As Integer '! Temporary
  149.       Dim i65348_ As Integer '! Temporary
  150.       Dim i65350_ As Integer '! Temporary
  151.       Dim i65352_ As Integer '! Temporary
  152.       Dim i65354_ As Integer '! Temporary
  153.       Dim l65356_ As Long
  154.       Dim w65360_ As Word
  155.       Dim i65362_ As Integer '! Temporary
  156.       Dim i65364_ As Integer '! Temporary
  157.       Dim l65366_ As Long
  158.       Dim b65370_ As Byte
  159.       Dim l65371_ As Long
  160.       Dim b65375_ As Byte
  161.       Dim l65376_ As Long
  162.       Dim w65380_ As Word
  163.       Dim l65382_ As Long
  164.       Dim b65386_ As Byte
  165.       Dim l65387_ As Long
  166.       Dim b65391_ As Byte
  167.       Dim s65392_ As String '! Temporary
  168.       Dim s65396_ As String*70
  169.       Dim s65466_ As String*70
  170.  
  171.       Sub11206(("MAILBOX.PRM"))
  172.       If Exists("mailbox.cfg") Then
  173.         Open "mailbox.cfg" For Input As 1
  174.       Else
  175.   103   Print "ERROR: Unable to locate MAILBOX.CFG file."
  176.         WaitEnter 
  177.         Stop 
  178.       End If
  179.   118 Input #1, s4463
  180.       Input #1, s4467
  181.       Input #1, l4471
  182.       Input #1, s5352
  183.       If Right(s5352, 1) <> "\" Then
  184.         s5352 = s5352 + "\"
  185.       End If
  186.   184 o4479 = 0
  187.       s6510 = EncodePassword(s4467)
  188.       s6510 = s6510 + s4463 + "MdBiXg1"
  189.       s6510 = EncodePassword(s6510)
  190.       l4475 = 0
  191.       b6034 = Len(s6510)
  192.       If b6034 > 10 Then
  193.         b6034 = 10
  194.       End If
  195.   273
  196.   297 For b6031 = 1 To b6034 Step 1
  197.         l4475 = l4475 + Asc(Mid(s6510, b6031, 1)) * 5 ^ b6031
  198.       Next
  199.   417 If l4475 = l4471 Then
  200.         o4479 = -1
  201.       End If
  202.   443 Print
  203.       Print "Welcome to Cynosure Mailbox v1.12."
  204.       Print "Copyright 1996, Doug Granzow."
  205.       Print
  206.       w4484 = Conference.Number
  207.       If o4479 Then
  208.         Print "Registered to: "; s4463
  209.       Else
  210.   512   Print "*** UNREGISTERED VERSION ***"; Chr(7)
  211.         Print
  212.         Print "Please encourage your sysop to register this program"
  213.         Print "with Cynosure Online (410-781-6271)."
  214.         Print
  215.         Delay 8
  216.       End If
  217.   558 Delay 1.5
  218.       s5360 = s5352 + Str(User.UserId) + ".BOK"
  219.       s5356 = s5352 + Str(User.UserId) + ".BOX"
  220.       Input #1, s6360
  221.       If Right(s6360, 1) <> "\" Then
  222.         s6360 = s6360 + "\"
  223.       End If
  224.   668 s6360 = s6360 + Str(User.UserId) + ".SIG"
  225.       Input #1, s6506
  226.       If Right(s6506, 1) <> "\" Then
  227.         s6506 = s6506 + "\"
  228.       End If
  229.   741 s6506 = s6506 + Str(User.UserId) + ".ADF"
  230.       Input #1, w6032
  231.       s5364 = s5352 + "lock.tmp"
  232.   814 For b6034 = 1 To 2 Step 1
  233.         Input #1, i8243(b6034)
  234.       Next
  235.   919 Close 1
  236.       Sub10138
  237.       s6023 = TempPath + "emailmsg.txt"
  238.       w4637 = 1
  239.       b5351 = 0
  240.       Open s5356 For Random As 4 Len = 151 '! This value should probably be replaced with a "SizeOf" expression
  241.  1000 For w4637 = 1 To LOF(4) Step 1
  242.         Get 4, w4637, t26_4486 '! 151 bytes
  243.         Join t26_4486.i3
  244.         GetMessage(mh4641, t26_4486.i0)
  245.         If t26_4486.i0 <> mh4641.Number Or mh4641.Flags And 512 Then
  246.  1159     For b6031 = w4637 + 1 To LOF(4) Step 1
  247.             Get 4, b6031, t26_4486 '! 151 bytes
  248.             Put 4, b6031 - 1, t26_4486 '! 151 bytes
  249.           Next
  250.  1266     t26_4486.i0 = 0
  251.           Put 4, LOF(4), t26_4486 '! 151 bytes
  252.         Else
  253.  1293     If t26_4486.s2 = "N" And mh4641.Flags And 4 Then
  254.             t26_4486.s2 = " "
  255.             Put 4, w4637, t26_4486 '! 151 bytes
  256.           End If
  257.         End If
  258.  1362 Next
  259.  1385 Open s6506 For Random As 1 Len = 142 '! This value should probably be replaced with a "SizeOf" expression
  260.       If LOF(1) < 40 Then
  261.         t27_6364.s70 = ""
  262.         t27_6364.s0 = ""
  263.         t27_6364.w140 = 0
  264.  1483   For b6031 = LOF(1) + 1 To 40 Step 1
  265.           Put 1, b6031, t27_6364 '! 142 bytes
  266.         Next
  267.       End If
  268.  1571 Close 1
  269.       b5372 = 0
  270.  1582 Do While b5351 = 0
  271.         Cls 
  272.         Print Func11465((1))
  273.         Print Func11465((2))
  274.  1692   For w4637 = b5372 * 17 + 1 To b5372 * 17 + 17 Step 1
  275.           If w4637 <= LOF(4) Then
  276.             Get 4, w4637, t26_4486 '! 151 bytes
  277.             If t26_4486.i0 <> 0 Then
  278.               Print Func11465((52));
  279.               Print Right("  " + Str(w4637) + "." + Func11465((59)) + t26_4486.s2, 9);
  280.               Print Func11465((53)); Left(t26_4486.s5 + String(25, " "), 25);
  281.               Print Func11465((54)); Left(" " + t26_4486.s75 + String(41, " "), 41);
  282.               Print Func11465((55)); FormatDate(t26_4486.d145, "mm/dd/yy");
  283.               Print
  284.             Else
  285.  2043         If w4637 = 1 Then
  286.                 Print Func11465((13))
  287.               End If
  288.             End If
  289.           End If
  290.  2083   Next
  291.  2106   Print
  292.         Print Func11465((3));
  293.         Print Func11465((4));
  294.         Print Func11465((6));
  295.         Print Func11465((8))
  296.         Print Func11465((9));
  297.         Print Func11465((11));
  298.         Print Func11465((12));
  299.         s5281 = UCase(InputMask("", "XXX", "", 1213417543))
  300.         w4637 = 0
  301.         s65466_ = s5281
  302.         If s65466_ = "N" Then GoTo 2371
  303.         If s65466_ = "" Then
  304.  2371     If (b5372 + 1) * 17 > LOF(4) Then
  305.             Print Func11465((16))
  306.           Else
  307.  2428       Get 4, (b5372 + 1) * 17, t26_4486 '! 151 bytes
  308.             If t26_4486.i0 = 0 Then
  309.               Print Func11465((16))
  310.             Else
  311.  2496         b5372 = b5372 + 1
  312.             End If
  313.           End If
  314.  2510   Else
  315.  2516     If s65466_ = "P" Then
  316.             If b5372 < 1 Then
  317.               Print Func11465((15))
  318.             Else
  319.  2581         b5372 = b5372 - 1
  320.             End If
  321.  2595     Else
  322.  2601       If s65466_ = "S" Then
  323.               GetSecProfile(sp6518, User.SecLevel)
  324.               If sp6518.AccessConfWrite(i8243(2)) Then
  325.                 Cls 
  326.                 mh6040.Flags = 1
  327.                 If Exists(s6360) Then
  328.                   Print
  329.                   Print Func11465((51))
  330.                 Else
  331.  2736             Print
  332.                   Print Func11465((20))
  333.                   Print Func11465((21))
  334.                 End If
  335.  2788           mh6040.To = ""
  336.                 Sub7620
  337.                 If mh6040.To > "" Then
  338.                   Print
  339.                   Print Func11465((47))
  340.                   Print
  341.                   mh6040.Subject = InputMask(Func11465((48)), "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
  342.                   If Conference.CFlags Mod 64 >= 32 Then
  343.                     Print
  344.                     Print Func11465((28))
  345.                     Print
  346.                     If InputYesNo(Func11465((29)), 0) Then
  347.                       mh6040.Flags = mh6040.Flags + 8
  348.                     End If
  349.                   End If
  350.  3018             Print
  351.                   Kill "mailtemp.txt"
  352.                   If EditMessage(mh6040, "mailtemp.txt", 1213417543) Then
  353.                     Open "mailtemp.txt" For Append As 1
  354.                     If Exists(s6360) Then
  355.                       Print #1,
  356.                       Open s6360 For Input As 2
  357.  3105                 Do While Not EOF(2)
  358.                         Input #2, s6510
  359.                         Print #1, s6510
  360.                       Loop
  361.  3140                 Close 2
  362.                     End If
  363.  3145               If Not o4479 Then
  364.                       Print #1,
  365.                       Print #1, "** Message sent with unregistered version of Cynosure Mailbox"
  366.                     End If
  367.  3171               Close 1
  368.                     AddMessage(mh6040, "mailtemp.txt", "", w4639)
  369.                     Print
  370.                     InputMask(Func11465((30)), "X", "", 1213417543)
  371.                   End If
  372.  3240             Kill "mailtemp.txt"
  373.                 End If
  374.  3248         Else
  375.  3254           Cls 
  376.                 Print Func11465((31))
  377.                 Print
  378.                 WaitEnter 
  379.               End If
  380.  3287       Else
  381.  3293         If s65466_ = "K" Then
  382.                 Print
  383.                 s6510 = InputMask(Func11465((32)), "XXXXXXXXXXXX", "", 1213417543) + ","
  384.                 Print Func11465((49))
  385.  3389           Do While InStr(s6510, ",") > 0
  386.                   s6514 = Left(s6510, InStr(s6510, ",") - 1)
  387.                   If InStr(s6514, "-") > 0 Then
  388.                     w6035 = Val(Left(s6514, InStr(s6514, "-") - 1))
  389.                   Else
  390.  3495               w6035 = Val(s6514)
  391.                   End If
  392.  3507             If w6035 > LOF(4) Then
  393.                     w6035 = 0
  394.                   End If
  395.  3531             If w6035 > 0 Then
  396.                     If InStr(s6514, "-") > 0 Then
  397.                       w6037 = Val(Mid(s6514, InStr(s6514, "-") + 1, 4))
  398.                       If w6037 > LOF(4) Then
  399.                         w6037 = 0
  400.                       End If
  401.  3623               Else
  402.  3629                 w6037 = w6035
  403.                     End If
  404.  3639               If w6037 >= w6035 Then
  405.  3684                 For b6031 = w6035 To w6037 Step 1
  406.                         Get 4, b6031, t26_4486 '! 151 bytes
  407.                         Join t26_4486.i3
  408.                         GetMessage(mh4641, t26_4486.i0)
  409.                         If t26_4486.s2 = "N" Then
  410.                           CurrentDateTime mh4641.ReadTime
  411.                         End If
  412.  3807                   If Not (mh4641.Flags And 512) Then
  413.                           mh4641.Flags = mh4641.Flags + 512
  414.                         End If
  415.  3855                   UpdateMessage(mh4641, "")
  416.                         t26_4486.s2 = "D"
  417.                         t26_4486.i0 = 0
  418.                         Put 4, b6031, t26_4486 '! 151 bytes
  419.                       Next
  420.                     End If
  421.                   End If
  422.  3926             s6510 = Mid(s6510, InStr(s6510, ",") + 1, 1213417543)
  423.                 Loop
  424.  3964         Else
  425.  3970           If s65466_ = "R" Then
  426.                   w4637 = InputNumber(Func11465((33)), 0, LOF(4))
  427.                   If w4637 > 0 Then
  428.                     Sub6750
  429.                   End If
  430.  4044           Else
  431.  4050             If s65466_ = "Q" Then
  432.                     b5351 = 1
  433.                   Else
  434.  4082               w4637 = Val(s5281)
  435.  4096               Do While b5351 = 0
  436.                       If w4637 > 0 And w4637 <= LOF(4) Then
  437.                         Get 4, w4637, t26_4486 '! 151 bytes
  438.                         If t26_4486.i0 > 0 Then
  439.                           Join t26_4486.i3
  440.                           GetMessage(mh4641, t26_4486.i0)
  441.                           If mh4641.Number = t26_4486.i0 Then
  442.                             Cls 
  443.                             SubText 1, mh4641.From
  444.                             SubText 2, " "
  445.                             DisplayPrompt 544
  446.                             Print
  447.                             SubText 1, mh4641.To
  448.                             DisplayPrompt 545
  449.                             Print
  450.                             SubText 1, mh4641.Subject
  451.                             DisplayPrompt 546
  452.                             Print
  453.                             SubText 1, Str(mh4641.Number)
  454.                             SubText 2, Str(GetHighMessage)
  455.                             SubText 3, " "
  456.                             s6510 = FormatDate(mh4641.MsgTime.D, "mm/dd/yy ") + FormatTime(mh4641.MsgTime.T, "hh:mm te")
  457.                             SubText 4, s6510
  458.                             DisplayPrompt 547
  459.                             Print
  460.                             DisplayPrompt 555
  461.                             Print
  462.                             If t26_4486.s2 = "N" Then
  463.                               CurrentDateTime mh4641.ReadTime
  464.                               UpdateMessage(mh4641, "")
  465.                               t26_4486.s2 = " "
  466.                               Put 4, w4637, t26_4486 '! 151 bytes
  467.                             End If
  468.  4474                       Print
  469.                             GetMessageText(t26_4486.i0, s6023)
  470.                             DisplayTextFile(s6023)
  471.                             MarkMessageRead(mh4641.Number)
  472.                             If mh4641.InternalAttach > "" Then
  473.                               SubText 1, mh4641.ExternalAttach
  474.                               DisplayPrompt 558
  475.                               Print
  476.                               Print Func11465((50));
  477.                             End If
  478.  4583
  479.                             s5281 = UCase(InputMask(Func11465((34)), "X", "", 1213417543))
  480.                             If s5281 = "X" Then
  481.                               s5281 = UCase(InputMask(Func11465((60)), "X", "", 1213417543))
  482.                             End If
  483.  4698                       s65396_ = s5281
  484.                             If s65396_ = "R" Then
  485.                               Sub6750
  486.                             Else
  487.  4741                         If s65396_ = "K" Then
  488.                                 mh4641.Flags = mh4641.Flags + 512
  489.                                 t26_4486.s2 = "D"
  490.                                 UpdateMessage(mh4641, "")
  491.  4843                           For b6031 = w4637 + 1 To LOF(4) Step 1
  492.                                   Get 4, b6031, t26_4486 '! 151 bytes
  493.                                   Put 4, b6031 - 1, t26_4486 '! 151 bytes
  494.                                 Next
  495.  4950                           t26_4486.i0 = 0
  496.                                 Put 4, LOF(4), t26_4486 '! 151 bytes
  497.                               Else
  498.  4977                           If s65396_ = "P" Then
  499.                                   w4637 = w4637 - 1
  500.                                 Else
  501.  5016                             If s65396_ = "A" Then
  502.                                     w4637 = w4637
  503.                                   Else
  504.  5051                               If s65396_ = "X" Then
  505.                                       w4637 = w4637
  506.                                     Else
  507.  5086                                 If s65396_ = "B" Then
  508.                                         Open s6506 For Random As 1 Len = 142 '! This value should probably be replaced with a "SizeOf" expression
  509.                                         b5351 = 0
  510.                                         b6031 = 1
  511.  5137                                   Do While b5351 = 0
  512.                                           Get 1, b6031, t27_6364 '! 142 bytes
  513.                                           If t27_6364.s0 = "" Then
  514.                                             t27_6364.s0 = mh4641.From
  515.                                             Put 1, b6031, t27_6364 '! 142 bytes
  516.                                             Print
  517.                                             SubText 1, mh4641.From
  518.                                             Print Func11465((61))
  519.                                             Print
  520.                                             WaitEnter 
  521.                                             b5351 = 1
  522.                                           End If
  523.  5270                                     b6031 = b6031 + 1
  524.                                           If b6031 > 40 Then
  525.                                             Print
  526.                                             Print Func11465((36))
  527.                                             Print
  528.                                             WaitEnter 
  529.                                             b5351 = 1
  530.                                           End If
  531.  5338                                   Loop
  532.  5344                                   b5351 = 0
  533.                                         Close 1
  534.                                       Else
  535.  5361                                   If s65396_ = "S" Then
  536.                                           SendFile(s6023, 1213417543)
  537.                                           WaitEnter 
  538.                                         Else
  539.  5402                                     If s65396_ = "F" Then
  540.                                             Print
  541.                                             Print Func11465((63))
  542.                                             Sub7620
  543.                                             mh6040.Subject = Func11465((62)) + " " + mh4641.Subject
  544.                                             mh6040.Subject = InputMask(Func11465((48)), "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", mh6040.Subject, 1213417543)
  545.                                             mh6040.Number = 0
  546.                                             mh6040.Flags = 1
  547.                                             If mh6040.To <> "" Then
  548.                                               Open s6023 For Input As 2
  549.                                               Open "tempfile.txt" For Output As 1
  550.                                               Print #1, " -- Begin forwarded message --"
  551.  5652                                         Do While Not EOF(2)
  552.                                                 Input #2, s6510
  553.                                                 Print #1, s6510
  554.                                               Loop
  555.  5687                                         Close 2
  556.                                               Print #1, " -- End forwarded message --"
  557.                                               If Exists(s6360) Then
  558.                                                 Print #1,
  559.                                                 Open s6360 For Input As 2
  560.  5737                                           Do While Not EOF(2)
  561.                                                   Input #2, s6510
  562.                                                   Print #1, s6510
  563.                                                 Loop
  564.  5772                                           Close 2
  565.                                               End If
  566.  5777                                         If Not o4479 Then
  567.                                                 Print #1,
  568.                                                 Print #1, "** Message sent with unregistered version of Cynosure Mailbox"
  569.                                               End If
  570.  5803                                         Close 1
  571.                                               AddMessage(mh6040, "tempfile.txt", "", w4639)
  572.                                               InputMask(Func11465((30)), "X", "", 1213417543)
  573.                                             End If
  574.  5870                                     Else
  575.  5876                                       If s65396_ = "Q" Then
  576.                                               b5351 = 1
  577.                                             Else
  578.  5908                                         If s65396_ = "D" Then
  579.                                                 If mh4641.InternalAttach > "" Then
  580.                                                   Print Func11465((49))
  581.                                                   s6027 = "wcwork\node" + Str(MakeWild.NodeId) + "\" + mh4641.ExternalAttach
  582.                                                   CopyFile(Conference.AttachPath + mh4641.InternalAttach, s6027)
  583.                                                   SendFile(s6027, 1213417543)
  584.                                                   Del s6027
  585.                                                 End If
  586.  6072                                         Else
  587.  6078                                           w4637 = w4637 + 1
  588.                                               End If
  589.                                             End If
  590.                                           End If
  591.                                         End If
  592.                                       End If
  593.                                     End If
  594.                                   End If
  595.                                 End If
  596.                               End If
  597.                             End If
  598.  6092                     Else
  599.  6098                       Print
  600.                             Print Func11465((14))
  601.                             Print
  602.  6158                       For b6031 = w4637 + 1 To LOF(4) Step 1
  603.                               Get 4, b6031, t26_4486 '! 151 bytes
  604.                               Put 4, b6031 - 1, t26_4486 '! 151 bytes
  605.                             Next
  606.  6265                       WaitEnter 
  607.                             b5351 = 1
  608.                           End If
  609.  6275                   Else
  610.  6281                     b5351 = 1
  611.                         End If
  612.  6288                 Else
  613.  6294                   b5351 = 1
  614.                       End If
  615.  6301               Loop
  616.  6307               b5351 = 0
  617.                   End If
  618.                 End If
  619.               End If
  620.             End If
  621.           End If
  622.         End If
  623.  6313 Loop
  624.  6319 Close 4
  625.       Open s5364 For Output As 3
  626.       If LockFile(3, 1, 64) Then
  627.         If Exists(s5360) Then
  628.           Del s5360
  629.         End If
  630.  6378   If Exists(s5356) Then
  631.           Name s5356 As s5360
  632.         End If
  633.  6402   Open s5356 For Random As 1 Len = 151 '! This value should probably be replaced with a "SizeOf" expression
  634.         Open s5360 For Random As 2 Len = 151 '! This value should probably be replaced with a "SizeOf" expression
  635.         w5368 = 1
  636.  6471   For w4637 = 1 To LOF(2) Step 1
  637.           Get 2, w4637, t26_4486 '! 151 bytes
  638.           If t26_4486.i0 > 0 Then
  639.             Put 1, w5368, t26_4486 '! 151 bytes
  640.             w5368 = w5368 + 1
  641.           End If
  642.  6579   Next
  643.  6602   Close 2
  644.         Close 1
  645.       End If
  646.  6612 UnlockFile(3, 1, 64)
  647.       Close 3
  648.       Del s5360
  649.       Join w4484
  650.       If Not o4479 Then
  651.         Print
  652.         Print "Thank you for using Cynosure Mailbox for Wildcat!"
  653.         Print "Please encourage your sysop to REGISTER this program"
  654.         Print "with Cynosure Online at 410-781-6271."
  655.         Print
  656.         Delay 8
  657.       End If
  658.  6694
  659.  
  660. '! Called 2 times
  661.       Sub Sub6750
  662.         Dim i65524 As Integer '! Temporary
  663.         Dim i65526 As Integer '! Temporary
  664.         Dim i65528 As Integer '! Temporary
  665.         Dim i65530 As Integer '! Temporary
  666.         Dim i65532 As Integer '! Temporary
  667.         Dim i65534 As Integer '! Temporary
  668.  
  669.         Get 4, w4637, t26_4486 '! 151 bytes
  670.         Join t26_4486.i3
  671.         GetMessage(mh4641, t26_4486.i0)
  672.         mh4961.Number = 0
  673.         If Conference.CFlags And 128 Then
  674.           mh4961.From = User.Alias
  675.         Else
  676.  6855     mh4961.From = User.Name
  677.         End If
  678.  6875   mh4961.FromId = User.UserId
  679.         If Exists(s6360) Then
  680.           Print
  681.           Print Func11465((51))
  682.         Else
  683.  6939     Print
  684.           Print Func11465((20))
  685.           Print Func11465((21))
  686.         End If
  687.  6991   Print
  688.         mh4961.InternalAttach = ""
  689.         mh4961.ExternalAttach = ""
  690.         mh4961.To = mh4641.From
  691.         mh4961.To = InputMask("To ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", mh4961.To, 1213417543)
  692.         mh4961.Subject = mh4641.Subject
  693.         mh4961.Subject = InputMask(Func11465((48)), "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", mh4961.Subject, 1213417543)
  694.         GetMessageText(mh4641.Number, "tempfile.txt")
  695.         Open "tempfile.txt" For Input As 1
  696.         Open "tempfil2.txt" For Output As 2
  697.         w6032 = 0
  698.  7221   Do While Not EOF(1) And w6032 < 150
  699.           w6032 = w6032 + 1
  700.           Input #1, s6510
  701.           Print #2, ">"; s6510
  702.         Loop
  703.  7288   Close 1
  704.         Kill "tempfile.txt"
  705.         Close 2
  706.         mh4961.Flags = 1
  707.         If Conference.CFlags Mod 64 >= 32 Then
  708.           If InputYesNo(Func11465((29)), 0) Then
  709.             mh4961.Flags = mh4961.Flags + 8
  710.           End If
  711.         End If
  712.  7397   If EditMessage(mh4961, "tempfil2.txt", 1213417543) Then
  713.           Open "tempfil2.txt" For Append As 1
  714.           If Exists(s6360) Then
  715.             Print #1,
  716.             Open s6360 For Input As 2
  717.  7474       Do While Not EOF(2)
  718.               Input #2, s6510
  719.               Print #1, s6510
  720.             Loop
  721.  7509       Close 2
  722.           End If
  723.  7514     If Not o4479 Then
  724.             Print #1,
  725.             Print #1, "** Message sent with unregistered version of Cynosure Mailbox"
  726.           End If
  727.  7540     Close 1
  728.           AddMessage(mh4961, "tempfil2.txt", "", 1213417543)
  729.           Print
  730.           InputMask(Func11465((30)), "X", "", 1213417543)
  731.         End If
  732.  7609   Kill "tempfil2.txt"
  733.       End Sub
  734.  
  735. '! Called 2 times
  736.       Sub Sub7620
  737.         Dim i65517 As Integer '! Temporary
  738.         Dim i65519 As Integer '! Temporary
  739.         Dim i65521 As Integer '! Temporary
  740.         Dim l65523 As Long
  741.         Dim b65527 As Byte
  742.         Dim i65528 As Integer '! Temporary
  743.         Dim i65530 As Integer '! Temporary
  744.         Dim i65532 As Integer '! Temporary
  745.         Dim i65534 As Integer '! Temporary
  746.  
  747.         mh6040.InternalAttach = ""
  748.         mh6040.ExternalAttach = ""
  749.         mh6040.ToId = 0
  750.         Print
  751.         Print Func11465((17))
  752.         Print Func11465((18))
  753.         Print Func11465((19))
  754.         Print
  755.         mh6040.To = InputMask("To ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", mh6040.To, 1213417543)
  756.         b6031 = 0
  757.         If mh6040.To = "?" Then
  758.           Print
  759.           Print Func11465((23))
  760.           Print
  761.           Open s6506 For Random As 1 Len = 142 '! This value should probably be replaced with a "SizeOf" expression
  762.  7886     For b6031 = 1 To 40 Step 1
  763.             Get 1, b6031, t27_6364 '! 142 bytes
  764.             If t27_6364.s0 > "" Then
  765.               Print b6031; ". "; t27_6364.s0; " ("; t27_6364.s70; ")"
  766.             End If
  767.  8020     Next
  768.  8043     Print
  769.           Print Func11465((24));
  770.           Input s6510
  771.           b6031 = Val(s6510)
  772.           Get 1, b6031, t27_6364 '! 142 bytes
  773.           Close 1
  774.           mh6040.To = t27_6364.s0
  775.         End If
  776.  8124   If UCase(mh6040.To) = "E" Then
  777.           Sub8586
  778.           mh6040.To = ""
  779.         End If
  780.  8171   If Val(mh6040.To) > 0 And Val(mh6040.To) <= 40 Then
  781.           b6031 = Val(mh6040.To)
  782.           Open s6506 For Random As 1 Len = 142 '! This value should probably be replaced with a "SizeOf" expression
  783.           Get 1, b6031, t27_6364 '! 142 bytes
  784.           Close 1
  785.           mh6040.To = t27_6364.s0
  786.           Print
  787.           Print Func11465((27)); mh6040.To
  788.         End If
  789.  8324   If InStr(mh6040.To, "@") > 0 Then
  790.           w4639 = i8243(2)
  791.         Else
  792.  8388     w4639 = i8243(1)
  793.           If Not GetUser(ur5373, mh6040.To) Then
  794.             Print
  795.             Print Func11465((26))
  796.             Print
  797.             WaitEnter 
  798.             mh6040.To = ""
  799.           End If
  800.         End If
  801.  8490   Join w4639
  802.         If Conference.CFlags And 128 Then
  803.           mh6040.From = User.Alias
  804.         Else
  805.  8545     mh6040.From = User.Name
  806.         End If
  807.  8565   mh6040.FromId = User.UserId
  808.       End Sub
  809.  
  810. '! Called 1 time
  811.       Sub Sub8586
  812.         Dim i65420 As Integer '! Temporary
  813.         Dim i65422 As Integer '! Temporary
  814.         Dim i65424 As Integer '! Temporary
  815.         Dim i65426 As Integer '! Temporary
  816.         Dim i65428 As Integer '! Temporary
  817.         Dim i65430 As Integer '! Temporary
  818.         Dim i65432 As Integer '! Temporary
  819.         Dim i65434 As Integer '! Temporary
  820.         Dim i65436 As Integer '! Temporary
  821.         Dim i65438 As Integer '! Temporary
  822.         Dim i65440 As Integer '! Temporary
  823.         Dim i65442 As Integer '! Temporary
  824.         Dim i65444 As Integer '! Temporary
  825.         Dim i65446 As Integer '! Temporary
  826.         Dim l65448 As Long
  827.         Dim b65452 As Byte
  828.         Dim i65453 As Integer '! Temporary
  829.         Dim i65455 As Integer '! Temporary
  830.         Dim i65457 As Integer '! Temporary
  831.         Dim i65459 As Integer '! Temporary
  832.         Dim l65461 As Long
  833.         Dim b65465 As Byte
  834.         Dim s65466 As String*70
  835.  
  836.         Open s6506 For Random As 1 Len = 142 '! This value should probably be replaced with a "SizeOf" expression
  837.         b5351 = 0
  838.  8620   Do While b5351 = 0
  839.           Cls 
  840.  8658     For b6031 = 1 To 40 Step 1
  841.             Get 1, b6031, t27_6364 '! 142 bytes
  842.             If t27_6364.s0 <> "" Then
  843.               Print Func11465((56)); Right(" " + Str(b6031), 2); ". ";
  844.               Print Func11465((57)); t27_6364.s0;
  845.               Print Func11465((58)); " ("; t27_6364.s70; ")"
  846.             End If
  847.  8876     Next
  848.  8899     Print
  849.           s5281 = UCase(InputMask(Func11465((35)), "X", "", 1213417543))
  850.           s65466 = s5281
  851.           If s65466 = "A" Then
  852.             b6039 = 0
  853.  9007       For b6031 = 1 To 40 Step 1
  854.               Get 1, b6031, t27_6364 '! 142 bytes
  855.               If t27_6364.s0 = "" Then
  856.                 If b6039 = 0 Then
  857.                   b6039 = b6031
  858.                   b6031 = 40
  859.                 End If
  860.               End If
  861.  9122       Next
  862.  9145       If b6039 = 0 Then
  863.               Print
  864.               Print Func11465((36))
  865.               Print
  866.               WaitEnter 
  867.             Else
  868.  9197         Get 1, b6039, t27_6364 '! 142 bytes
  869.               Print
  870.               Print Func11465((37))
  871.               t27_6364.s0 = InputMask(Func11465((38)), "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
  872.               Print
  873.               Print Func11465((39))
  874.               t27_6364.s70 = InputMask(Func11465((40)), "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
  875.               t27_6364.w140 = 0
  876.               Put 1, b6039, t27_6364 '! 142 bytes
  877.             End If
  878.  9385     Else
  879.  9391       If s65466 = "D" Then
  880.               b6031 = Val(InputMask(Func11465((41)), "XX", "", 1213417543))
  881.               If b6031 > 0 And b6031 <= 40 Then
  882.                 t27_6364.s0 = ""
  883.                 Put 1, b6031, t27_6364 '! 142 bytes
  884.               End If
  885.  9508       Else
  886.  9514         If s65466 = "M" Then
  887.                 b6031 = Val(InputMask(Func11465((42)), "XX", "", 1213417543))
  888.                 If b6031 > 0 And b6031 <= 40 Then
  889.                   b6039 = Val(InputMask(Func11465((43)), "XX", "", 1213417543))
  890.                   If b6039 > 0 And b6039 <= 40 Then
  891.                     Get 1, b6039, t27_6364 '! 142 bytes
  892.                     If t27_6364.s0 = "" Then
  893.                       Get 1, b6031, t27_6364 '! 142 bytes
  894.                       Put 1, b6039, t27_6364 '! 142 bytes
  895.                       t27_6364.s0 = ""
  896.                       Put 1, b6031, t27_6364 '! 142 bytes
  897.                     Else
  898.  9773                 Print
  899.                       Print Func11465((44))
  900.                       Print
  901.                       WaitEnter 
  902.                     End If
  903.                   End If
  904.                 End If
  905.  9805         Else
  906.  9811           If s65466 = "E" Then
  907.                   b6031 = Val(InputMask(Func11465((45)), "XX", "", 1213417543))
  908.                   If b6031 > 0 And b6031 <= 40 Then
  909.                     Print
  910.                     Print Func11465((37))
  911.                     Get 1, b6031, t27_6364 '! 142 bytes
  912.                     t27_6364.s0 = InputMask(Func11465((38)), "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
  913.                     Print
  914.                     Print Func11465((39))
  915.                     t27_6364.s70 = InputMask(Func11465((40)), "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
  916.                     Put 1, b6031, t27_6364 '! 142 bytes
  917.                   End If
  918. 10080           Else
  919. 10086             If s65466 = "Q" Then
  920.                     b5351 = 1
  921.                     Close 1
  922.                     GoTo 10123
  923.                   End If
  924.                 End If
  925.               End If
  926.             End If
  927.           End If
  928. 10123   Loop
  929. 10129   b5351 = 0
  930.       End Sub
  931.  
  932. '! Called 1 time
  933.       Sub Sub10138
  934.         Dim i65366 As Integer '! Temporary
  935.         Dim s65368 As String
  936.         Dim i65372(0 To 2) As Integer
  937.         Dim b65378 As Byte
  938.         Dim i65379 As Integer
  939.         Dim t30_65381 As Type30
  940.         Dim s65532 As String
  941.  
  942.         CarrierCheck(0)
  943.         b65378 = 1
  944.         b5351 = 0
  945.         s65368 = s5352 + "main.box"
  946.         Open s5364 For Output As 3
  947.         If LockFile(3, 1, 64) Then
  948.           If Exists(s65368) Then
  949.             Open s65368 For Input As 1
  950.             Input #1, i65372(1)
  951.             Input #1, i65372(2)
  952.             Close 1
  953.           Else
  954. 10315       i65372(1) = 0
  955.             i65372(2) = 0
  956.           End If
  957. 10369     Kill s65368
  958.           Open s65368 For Output As 2
  959.           Print Func11465((46))
  960. 10420     Do While b5351 = 0
  961.             Join i8243(b65378)
  962.             If Conference.Number = i8243(b65378) Then
  963.               If Not GetMessage(mh4641, i65372(b65378)) Then
  964. 10556           Do While b5351 = 0
  965.                   i65372(b65378) = i65372(b65378) - 1
  966.                   If i65372(b65378) > GetLowMessage Then
  967.                     If GetMessage(mh4641, i65372(b65378)) Then
  968.                       b5351 = 1
  969.                     End If
  970. 10720             Else
  971. 10726               b5351 = 1
  972.                   End If
  973. 10733           Loop
  974. 10739           b5351 = 1
  975.               End If
  976. 10746         Do While GetNextMessage(mh4641)
  977.                 If mh4641.ToId > 0 And mh4641.Flags Mod 1024 < 512 Then
  978.                   s65532 = s5352 + Str(mh4641.ToId) + ".BOX"
  979.                   Open s65532 For Random As 1 Len = 151 '! This value should probably be replaced with a "SizeOf" expression
  980.                   i65379 = LOF(1) + 1
  981.                   t30_65381.w0 = mh4641.Number
  982.                   If mh4641.Flags Mod 8 < 4 Then
  983.                     t30_65381.s2 = "N"
  984.                   Else
  985. 10919               t30_65381.s2 = " "
  986.                   End If
  987. 10934             t30_65381.w3 = i8243(b65378)
  988.                   t30_65381.s5 = mh4641.From
  989.                   t30_65381.s75 = mh4641.Subject
  990.                   t30_65381.dt145 = mh4641.MsgTime '! 6 bytes
  991.                   Put 1, i65379, t30_65381 '! 151 bytes
  992.                   Close 1
  993.                 End If
  994. 11049         Loop
  995. 11055         i65372(b65378) = mh4641.Number
  996.             End If
  997. 11093       Print #2, i65372(b65378)
  998.             If b65378 = 1 Then
  999.               b65378 = 2
  1000.             Else
  1001. 11155         b5351 = 1
  1002.             End If
  1003. 11162     Loop
  1004. 11168     UnlockFile(3, 1, 64)
  1005.           Close 2
  1006.         End If
  1007. 11183   Close 3
  1008.         CarrierCheck(-1)
  1009.       End Sub
  1010.  
  1011. '! Called 1 time
  1012.       Sub Sub11206(s65534 As String)
  1013.         If User.Language <> "" Then
  1014.           If Exists(MakeWild.LanguagePath + User.Language + "\" + s65534) Then
  1015.             Open MakeWild.LanguagePath + User.Language + "\" + s65534 For Random As 9 Len = 161 '! This value should probably be replaced with a "SizeOf" expression
  1016.             GoTo 11462
  1017.           End If
  1018.         End If
  1019. 11347   If Exists(MakeWild.LanguagePath + s65534) Then
  1020.           Open MakeWild.LanguagePath + s65534 For Random As 9 Len = 161 '! This value should probably be replaced with a "SizeOf" expression
  1021.           GoTo 11462
  1022.         End If
  1023. 11415   Error 10
  1024.         Catch 10
  1025.           Print "Unable to open prompt file: "; s65534
  1026.           WaitEnter 
  1027.           End 
  1028.         GoTo 11462
  1029. 11462
  1030.       End Sub
  1031.  
  1032. '! Called 73 times
  1033.       Function Func11465(i65534 As Integer) As String
  1034.         Dim s65365 As String
  1035.         Dim t31_65369 As Type31
  1036.  
  1037.         If RIPEnabled Then
  1038.           i65534 = i65534 + LOF(9) / 2
  1039.         End If
  1040. 11514   Get 9, i65534, t31_65369 '! 161 bytes
  1041.         s65365 = Left(t31_65369.s1, t31_65369.b0)
  1042.         If Left(s65365, 2) = "<<" Then
  1043.           DisplayTextFile(Mid(s65365, 3, Len(s65365) - 2))
  1044.           Func11465 = ""
  1045.         Else
  1046. 11614     Func11465 = s65365
  1047.         End If
  1048. 11622
  1049.       End Function
  1050.